package com.localjoycommunity.cpdj.project.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.localjoycommunity.cpdj.project.system.domain.SysBeauty;
import com.localjoycommunity.cpdj.project.system.domain.UserBeauty;

import java.util.List;

/**
 * @Author: lida
 * @Date: 2020/11/14
 * @Description:
 */
public interface IUserBeautyService extends IService<UserBeauty> {

    /**
     * 用户点赞风采
     */
    int beautyDig(UserBeauty userBeauty);

    /**
     * 点赞风采列表
     * @param userId
     * @return
     */
    List<SysBeauty>  selectUserBeauty(Integer userId);

    Integer isDig(int userId, Long beautyId);
}
